import tool from '../modules/tool'
const controls = tool.cControls

export default async (reloadPage, handleError) => {



    const refresh = async () => {
        return {
            type: 1,
            main: {
                tab: [
                    {
                        title: '',
                        bottomControls: [],
                        topControls: [],
                        data: {
                            type: 'table',
                            enableSelect: false,
                            form: [

                            ],
                            list: [],
                            callBack: async (e) => {
                                console.log(e)
                            },
                        }
                    }
                ]
            }
        }
    }

    return refresh
}